import request from "@/utils/request";

//展示全部信息
export const getAllDate=()=>{
    return request.get('/admin/get')
}

//展示商家全部信息
export const getShangDate=()=>{
    return request.get('/admin/canteenWindow')
}

//删除商家
export const deleteShang=(canteenWindowId)=>{
    return request.delete(`/staff/window/${canteenWindowId}`)
}


//获取学生分类页数据
export const getStuDate=(keyword)=>{
    return request.get(`/admin/search?keyword=${keyword}`,{
        
    })
}
//获取商家分类页数据
export const getShangJia=(keyword)=>{
    return request.get(`/admin/searchCanteenWindow?keyword=${keyword}`,{
    })
}
